using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using emp.ProcessFlow;
using emp.Model;
using emp.ProcessFlow.SysManage;

public partial class systemmanage_compaignmenu_compmenulist : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            SysMenuController iCon = new SysMenuController();
           
            iCon.LeafImageUrl = "/pub/crm/images/ftv2doc.gif";
            iCon.NodeImageUrl = "/pub/crm/images/ftv2folderclosed.gif";
            iCon.CreateCompaignTreeView(MyTreeView, "compmenuadd.aspx", "compmenumodify.aspx", "compmenudel.aspx", "1");
        }
    }


    protected void MyTreeView_SelectedNodeChanged(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            MyTreeView.SelectedNode.ImageUrl = "";
        }
    }
}
